package com.jwds.digital.bios.business.service.service.dispatch;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jwds.digital.bios.business.core.infrastructure.dto.dispatch.DispatchReceivingMaterialsReqDTO;
import com.jwds.digital.bios.business.core.infrastructure.dto.feign.BasicStockBinReqDTO;
import com.jwds.digital.bios.business.core.infrastructure.entity.dispatch.DispatchReceivingMaterials;
import com.jwds.digital.bios.business.core.infrastructure.vo.dispatch.DispatchReceivingMaterialsRespVO;
import com.jwds.digital.bios.business.core.infrastructure.vo.feign.BasicStockBinRespVO;
import com.jwds.digital.bios.business.core.infrastructure.vo.feign.FlowBasicRespVO;
import com.jwds.tdc.framework.application.lib.page.PageRequest;
import com.jwds.tdc.framework.application.lib.page.PageResponse;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * 料场受料调度接口
 *
 * @author 林柏云
 * @date 2024-10-24
 */
public interface IDispatchReceivingMaterialsService extends IService<DispatchReceivingMaterials> {

  /**
   * 通过id查询
   * @param id 主键id
   * @return RespVO 查询结果
   */
  DispatchReceivingMaterialsRespVO queryById(Long id);

  /**
   * 分页查询
   * @param pageRequest 分页查询参数
   * @return pageResponse 分页查询结果
   */
  PageResponse<DispatchReceivingMaterialsRespVO> page(PageRequest<DispatchReceivingMaterialsReqDTO> pageRequest);

  /**
   * 列表查询
   * @return respVOList 查询结果
   */
  List<DispatchReceivingMaterialsRespVO> findAll();

  /**
   * 新增
   * @param reqDto 新增对象
   */
  void add(DispatchReceivingMaterialsReqDTO reqDto);


  /**
   * 更新
   * @param reqDto 更新对象
   */
  void update(DispatchReceivingMaterialsReqDTO reqDto);

  /**
   * 根据Id删除
   * @param id 主键id
   */
  void delete(Long id);

  /**
   * 动态查询
   */
  List<String> DropDownBox(String destPointion);

  void export();

  List<FlowBasicRespVO> Process(Long id);



}
